import request from '@/utils/request'

// 查询工作流工单记录列表
export function listflowOrderLog(query) {
    return request({
        url: '/flowOrderLog/list',
        method: 'get',
        params: query
    })
}

// 查询工作流工单记录详细
export function getflowOrderLog(id) {
    return request({
        url: '/flowOrderLog/' + id,
        method: 'get'
    })
}

// 新增工作流工单记录
export function addflowOrderLog(data) {
    return request({
        url: '/flowOrderLog/add',
        method: 'post',
        data: data
    })
}

// 修改工作流工单记录
export function updateflowOrderLog(data) {
    return request({
        url: '/flowOrderLog/edit',
        method: 'put',
        data: data
    })
}

// 删除工作流工单记录
export function delflowOrderLog(id) {
    return request({
        url: '/flowOrderLog/' + id,
        method: 'delete'
    })
}
